<template>
  <div>
    <pagenation :total="6" :pageSize="5" :pageIndex="2" @getIndex="fun"></pagenation>
 </div>
</template>

<script>
import pagenation from '../components/pagenation.vue'
export default {
  name: '',
  components: {
    pagenation
  },
  setup() {
    let fun = (index) => {
      console.log(index);
    }

    return {
      fun
    }
  },
 }
</script>

<style scoped>
</style>